package com.zsr.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zsr.example.entity.EduComment;
import com.zsr.example.entity.UcenterMember;
import com.zsr.example.vo.CommentReq;
import com.zsr.example.vo.CommentVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author zsr
 * @since 2021-12-04
 */
public interface EduCommentService extends IService<EduComment> {
     Map<String, Object> commentPageList(Long page,Long limit,int targetType,String targetId);

     UcenterMember commentSave(EduComment comment, String memberId);

     /**
      * 获取我的已读、未读评论列表
      * @param uId
      * @return
      */
     List<EduComment> getMyReplyMsg(String uId);


    List<CommentVo> getListByTargetId(CommentReq commentReq);
}
